build: Bump up the SONAME for GTK4
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 23 Nov 2020 18:02:12 +0000 (18:02 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 9 Dec 2020 12:19:50 +0000 (12:19 +0000)
We released all the 3.9x development snapshots using:

  libgtk-4.0.so.0.xxxx.y

which means that the 4.0.0 release of GTK will have a lower SONAME than
the snapshots. To avoid that, bump the SONAME to 1.xxxx.y.

Fixes: #3392
meson.build

index 26f9b8e780de28a3734c49d9809781835145062e..f4a8e36f03d908fb121dfc17843e89612a19337e 100644 (file)
@@ -79,8 +79,8 @@ gtk_binary_version = '4.0.0'
 
 gtk_binary_age = 100 * gtk_minor_version + gtk_micro_version
 
-gtk_soversion = '0'
-gtk_library_version = '0.@0@.@1@'.format(gtk_binary_age - gtk_interface_age, gtk_interface_age)
+gtk_soversion = '1'
+gtk_library_version = '1.@0@.@1@'.format(gtk_binary_age - gtk_interface_age, gtk_interface_age)
 
 gtk_api_version = '4.0'